home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xt / XtGetSubresources.z / XtGetSubresources
Encoding:
Text File  |  1998-10-30  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttGGGGeeeettttSSSSuuuubbbbrrrreeeessssoooouuuurrrrcccceeeessss((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttGGGGeeeettttSSSSuuuubbbbrrrreeeessssoooouuuurrrrcccceeeessss((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtGetSubresources, XtVaGetSubresources - obtain subresources
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           void XtGetSubresources(_w, _b_a_s_e, _n_a_m_e, _c_l_a_s_s, _r_e_s_o_u_r_c_e_s,
  13.           _n_u_m__r_e_s_o_u_r_c_e_s, _a_r_g_s, _n_u_m__a_r_g_s)
  14.                 Widget _w;
  15.                 XtPointer _b_a_s_e;
  16.                 String _n_a_m_e;
  17.                 String _c_l_a_s_s;
  18.                 XtResourceList _r_e_s_o_u_r_c_e_s;
  19.                 Cardinal _n_u_m__r_e_s_o_u_r_c_e_s;
  20.                 ArgList _a_r_g_s;
  21.                 Cardinal _n_u_m__a_r_g_s;
  22.  
  23.           void XtVaGetSubresources(_w, _b_a_s_e, _n_a_m_e, _c_l_a_s_s, _r_e_s_o_u_r_c_e_s,
  24.           _n_u_m__r_e_s_o_u_r_c_e_s, ...)
  25.                 Widget _w;
  26.                 XtPointer _b_a_s_e;
  27.                 String _n_a_m_e;
  28.                 String _c_l_a_s_s;
  29.                 XtResourceList _r_e_s_o_u_r_c_e_s;
  30.                 Cardinal _n_u_m__r_e_s_o_u_r_c_e_s;
  31.  
  32.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  33.           _a_r_g_s      Specifies the argument list to override resources
  34.                     obtained from the resource database.
  35.  
  36.           _b_a_s_e      Specifies the base address of the subpart data
  37.                     structure where the resources should be written.
  38.  
  39.           _c_l_a_s_s     Specifies the class of the subpart.
  40.  
  41.           _n_a_m_e      Specifies the name of the subpart.
  42.  
  43.           _n_u_m__a_r_g_s  Specifies the number of arguments in the argument
  44.                     list.
  45.  
  46.           _n_u_m__r_e_s_o_u_r_c_e_s
  47.                     Specifies the number of resources in the resource
  48.                     list.
  49.  
  50.           _r_e_s_o_u_r_c_e_s Specifies the resource list for the subpart.
  51.  
  52.           _w         Specifies the widget that wants resources for a
  53.                     subpart or that identifies the resource database
  54.                     to search.
  55.  
  56.           ...       Specifies the variable arguments to override
  57.                     resources obtained from the resource database.
  58.  
  59.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  60.  
  61.  
  62.  
  63.      PPPPaaaaggggeeee 1111                                          ((((pppprrrriiiinnnntttteeeedddd 4444////33330000////99998888))))
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttGGGGeeeettttSSSSuuuubbbbrrrreeeessssoooouuuurrrrcccceeeessss((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttGGGGeeeettttSSSSuuuubbbbrrrreeeessssoooouuuurrrrcccceeeessss((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           The _X_t_G_e_t_S_u_b_r_e_s_o_u_r_c_e_s function constructs a name/class list
  75.           from the application name/class, the name/classes of all its
  76.           ancestors, and the widget itself.  Then, it appends to this
  77.           list the name/class pair passed in.  The resources are
  78.           fetched from the argument list, the resource database, or
  79.           the default values in the resource list.  Then, they are
  80.           copied into the subpart record.  If args is NULL, num_args
  81.           must be zero.  However, if num_args is zero, the argument
  82.           list is not referenced.
  83.  
  84.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  85.           XtGetApplicationResources, XtVaGetApplicationResources
  86.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  87.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.